package com.shuaiche.yeguan.config;

import com.shuaiche.yeguan.BuildConfig;

public class SCAppConfig {

    public final static boolean IS_DEBUG = BuildConfig.DEBUG;

    public final static String BASE_URL_DEV = "https://api-dev.shuaiche.com";
    public final static String BASE_URL_TEST = "https://api-test.shuaiche.com";
    public final static String BASE_URL_RELEASE = "https://api.shuaiche.com";

    public final static String BASE_H5_DEV = "https://m-dev.shuaiche.com";
    public final static String BASE_H5_TEST = "https://m-test.shuaiche.com";
    public final static String BASE_H5_RELEASE = "https://m.shuaiche.com";
    public final static String BASE_IM_DEV = "http://im-dev.shuaiche.com";
    public final static String BASE_IM_TEST = "http://im-test.shuaiche.com";
    public final static String BASE_IM_RELEASE = "https://im.shuaiche.com";
    public final static String BASE_IM_WS_DEV = "wss://imws-dev.shuaiche.com";
    public final static String BASE_IM_WS_TEST = "wss://imws-test.shuaiche.com";
    public final static String BASE_IM_WS_RELEASE = "wss://imws.shuaiche.com";

    public final static String BASE_URL =  IS_DEBUG ? BASE_URL_DEV : BASE_URL_RELEASE;
    public final static String BASE_H5_URL = IS_DEBUG ? BASE_H5_DEV : BASE_H5_RELEASE;

    public final static String WWX_PACKAGE = "com.shuaiche.yeguan";

    /**
     * 车辆列表
     */
    public final static String H5_CAR_LIST = BASE_H5_URL + "/sharecarlist";

    /**
     * 平台服务协议
     */
    public final static String URL_PROTOCOL_SERVICE = BASE_H5_URL + "/static/protocol/yeguanService.html";

    /**
     * 隐私条款
     */
    public final static String URL_PROTOCOL_PRIVACY = BASE_H5_URL + "/static/protocol/yeguanPrivacy.html";
    public final static String URL_PROTOCOL_PRIVACY_SHARE = BASE_H5_URL + "/static/protocol/sdk.html";

    public final static String IMG_URL = "https://img.shuaiche.com/";
    public final static String IMG_URL_NO_END = "https://img.shuaiche.com";
    /**
     * 维保详情
     */
    public final static String URL_MAINTENANCE_DETAIL = BASE_H5_URL + "/maintenanceReport";

    /**
     * 即时通讯文件地址域名
     */
    public final static String IM_FILE_URL = "https://scim.shuaiche.com/";

    /**
     * 极验appid
     * appkey:733dc8a65e10b8bbbeb7201105fe95ce
     */
    public final static String APP_ID_OL = "60c547b41d8ba88c8d4ba55951dfd97f";


    /**
     * OSS上传类型  1认证  2头像 3车辆图片 6 IM图片视频 7 IM文件 8 IM语音
     */
    public final static Integer OSS_LICENSE = 1;
    public final static Integer OSS_FACE = 2;
    public final static Integer OSS_CAR = 3;
    public final static Integer OSS_PDF_TESTREPORT = 4;
    public final static Integer OSS_PDF_MAINTAINREPORT = 5;
    public final static Integer OSS_IM_MEDIA = 6;
    public final static Integer OSS_IM_FILE = 7;
    public final static Integer OSS_IM_SOUND = 8;

    /**
     * 图片类型
     */
    public final static String CAR_PIC = "CAR_PIC";//车辆图片
    public final static String CERT_PIC = "CERT_PIC";//证件图片
    public final static String OTHER_PIC = "OTHER_PIC";//其他图片
    /**
     * 证件图片描述
     */
    public final static String CERT_PIC_ID_FRONT = "ID_FRONT";//身份证正面
    public final static String CERT_PIC_ID_BACK = "ID_BACK";//身份证反面
    public final static String CERT_PIC_CAR_LICENSE_FRONT = "CAR_LICENSE_FRONT";//行驶证正面
    public final static String CERT_PIC_CAR_LICENSE_BACK = "CAR_LICENSE_BACK";//行驶证反面
    public final static String CERT_PIC_CAR_REG_BOOK = "CAR_REG_BOOK";//登记证
    public final static String CERT_PIC_OTHER_CERT = "OTHER_CERT";//其他证件

    /**
     * vin
     */
    public final static String VIN_APP_KEY = "203747504";
    public final static String VIN_APP_SECRET = "flx4oljpz6kv5ohp20gr1ef9dnej13sl";
    public final static String VIN_APP_CODE = "aa87ba25460e4ec38a554c046d1417aa";
}
